package com.example.gausspaper.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "db_role")
public class Role {
    @Id
    @Column(length = 20)
    private String roleName;
    private String permission;

}
